package com.jic.data.mapper;
import org.apache.ibatis.annotations.Param;

import com.jic.data.model.entity.MonSingleOneMoreGuestSaleAmountContrast;

import java.util.List;

public interface MonSingleOneMoreGuestSaleAmountContrastMapper {
    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST插入数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    int insert(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST插入数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    int insertSelective(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST根据表对象数据修改数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    int updateByPrimaryKey(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST根据表对象数据修改数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    int updateByPrimaryKeySelective(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST根据id删除数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    int deleteByPrimaryKey(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST根据主键查询数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    MonSingleOneMoreGuestSaleAmountContrast selectByPrimaryKey(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST根据主键查询数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    List<MonSingleOneMoreGuestSaleAmountContrast> listPageBySelective(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * MON_SINGLE_ONE_MORE_GUEST_SALE_AMOUNT_CONTRAST查询数据
     *
     * @param monSingleOneMoreGuestSaleAmountContrast 入参实体类
     */
    List<MonSingleOneMoreGuestSaleAmountContrast> selectBySelective(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * 商品名称分组
     * @param monSingleOneMoreGuestSaleAmountContrast
     * @return
     */
    List<MonSingleOneMoreGuestSaleAmountContrast> queryByGroupByProductName(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

    /**
     * 日期分组
     * @param monSingleOneMoreGuestSaleAmountContrast
     * @return
     */
    List<MonSingleOneMoreGuestSaleAmountContrast> queryByGroupBySaleDate(MonSingleOneMoreGuestSaleAmountContrast monSingleOneMoreGuestSaleAmountContrast);

}
